import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: "/user" 
  },
  {
    path: '/shop',
    component: ()=>import("../views/shop/shop.vue")
  },
  {
    path: '/user',
    component: ()=>import("../views/user/user.vue")
  },
  {
    path: '/list',
    component: ()=>import("../views/list/list.vue")
  },
  
]

const router = new VueRouter({
  routes
})

export default router
